SET(SHEEPLIB_SRCS
animatedmodel.cpp  
mat4.cpp  
obj.cpp         
targa.cpp    
bitmap.cpp         
plane.cpp       
texture.cpp  
vec4.cpp
ms3d.cpp  
quaternion.cpp  
vec2.cpp
vec3.cpp
)

INCLUDE_DIRECTORIES(../../include)

# Tell CMake to build a static library from 
ADD_LIBRARY(SheepLib STATIC ${SHEEPLIB_SRCS})
SET_TARGET_PROPERTIES(SheepLib PROPERTIES COMPILE_FLAGS "-D__CPLUSPLUS")

# Install libSLmath to the lib directory
INSTALL(TARGETS SheepLib ARCHIVE DESTINATION lib)
